home *** CD-ROM | disk | FTP | other *** search
- ECCO (Italian: "Behold!") Echo arguments for MS-DOS, PC-DOS
-
- Ecco writes its arguments to the standard output (like Unix "echo") even if Dos
- batch ECHO is OFF. This is useful for putting out messages in batch files, for
- instance
-
- ECHO OFF
- ...
- IF ...
- ...
- ECCO Compiling program
-
- will write "Compiling program" to the terminal.
-
- Odd characters may be specified with a backslash followed by the three-digit
- octal ASCII code for the character. All three digits must be given.
-
- ECCO \007Ding, ding!\007
- ECCO Here are\015\012two lines
-
- To output a true backslash, use two:
-
- ECCO Here is one backslash: \\; two: \\\\
-
- Rainbow users: to get rid of the nauseating ECHO OFF which appears when you
- first turn echo off (anyone out there know how to patch COMMAND.COM to fix
- this?):
-
- echo off
- ecco \033[2A\033[J\033[A
-
- The second line sends the escape sequences to move the cursor up and erase the
- offending prose. I don't think it's that easy on the IBM PC (unless running
- the funky ANSI driver).
-
- This program may be distributed freely as long as it is not sold for profit.
- The author may be reached at:
-
- Bryan Higgins
- DHB Associates
- 1802 Channing Way
- Berkeley, CA 94703